a=str(input())
b=""
d=""
c=len(a)
for i in range(c):
    if i % 2==0:
        b=b+a[i]
    else:
        d=d+a[i]
print(d+b)
